<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.prime.com.tr/ui">

    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <link href="http://localhost:8084/SistEnfer/thema/skin.css" rel="stylesheet" type="text/css" />

        <title>
            <ui:insert name="titulo"/>
        </title>
    </h:head>
    <h:body>

        <h:form>
            <p:growl id="messages" showDetail="true"/>

            <p:menubar>
                <!--Menu 01 Sistema -->
                <p:submenu label="Sistema" icon="ui-icon ui-icon-gear">
                    <p:menuitem value="Inicio" url="/sistema/gerenciador.xhtml" icon="ui-icon ui-icon-home"/>
                    <p:submenu label="Cadastro">

                       
                    </p:submenu>
                </p:submenu>
                
                <!--Menu 02 Cadastro -->
                <p:submenu label="Cadastro" icon="ui-icon ui-icon-gear">
                           
                    <p:submenu label="Paciente">
                        <p:menuitem value="novo" url="/sistema/paciente/novo.xhtml"/>
                        <p:menuitem value="consultar" url="/sistema/paciente/consultar.xhtml"/>
                    </p:submenu>
                </p:submenu>
                
                <!--Menu 03 Cadastro -->
                <p:submenu label="Hospital" icon="ui-icon ui-icon-gear">
                           
                    <p:submenu label="Clinica">
                        <p:menuitem value="novo" url="/sistema/clinica/novo.xhtml"/>
                        <p:menuitem value="consultar" url="/sistema/clinica/consultar.xhtml"/>
                    </p:submenu>
                    <p:submenu label="Enfermaria">
                        
                        <p:menuitem value="consultar" url="/sistema/enfermaria/consultar.xhtml"/>
                    </p:submenu>
                    <p:submenu label="Leito">
                       
                        <p:menuitem value="consultar" url="/sistema/leito/consultar.xhtml"/>
                    </p:submenu>
                </p:submenu>
                
            </p:menubar>

            <p:breadCrumb preview="true" expandEffectDuration="200" previewWidth="20">
                <ui:insert name="migalhas">
                    <p:menuitem value="Inicio" url="/sistema/gerenciador.xhtml" />
                </ui:insert>
            </p:breadCrumb>

        </h:form>
        <!-- Corpo da Aplicação -->
        <ui:insert name="corpo">

        </ui:insert>

    </h:body>
</html>
